package producer.service;

import common.api.HelloService;

/**
 * @ClassName HelloServiceImpl
 * @Description
 * @Author Jingxiao.Ye
 * @Date 2022/1/2 下午11:45
 * @Version V1.0
 * @Since JDK 11
 */
public class HelloServiceImpl implements HelloService {
    @Override
    public String hello() {
        System.out.println("hello");
        return "hello";
    }

    @Override
    public String sayHello(String name) {
        System.out.println("sayHello");
        return name+":hello";
    }
}
